/*
 * Copyright (c) 2006, 2021, webrx.cn All rights reserved.
 *
 */
package org.beiyou.part5;

/**
 * <p>Project: javaseapp - Demo
 * <p>Powered by webrx On 2021-08-04 17:26:00
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 16
 */
public class Demo {
    public static void main(String[] args) {
        //var d = new Date();
        //System.out.println("demo ");
        var b = new B();  //B是A子类,A是java.util.Date的子类。所以B就是一个java.util.Date实例。
        System.out.println(b.getTime());
    }
}
